<script setup>

import SvgIcon from "../../../Svglcon.vue";
import {ref} from "vue";

const toolButtonListInfor = ref(
    [
      {
        iconName: "close",
        title: '导入'
      },
      {
        iconName: "close",
        title: '镜像'
      },
      {
        iconName: "close",
        title: '对齐'
      },
      {
        iconName: "close",
        title: '排列'
      },
      {
        iconName: "close",
        title: '清单'
      },
      {
        iconName: "close",
        title: '禁用中文'
      },
      {
        iconName: "close",
        title: '精确移动'
      },
      {
        iconName: "close",
        title: '物料库'
      },
      {
        iconName: "close",
        title: '物料库'
      },

    ]
)


</script>

<template>
  <div class="toolButtonListWarp">
    <div class="toolButtonList">
      <div class="toolButtonCard" v-for="(item,itemIndex) in toolButtonListInfor" :key="itemIndex">
        <div class="toolButtonIcon">
          <svg-icon :name="item.iconName" style="zoom: 0.9"></svg-icon>
        </div>
        <div class="toolButtonTitle">
          {{ item.title }}
        </div>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">

.toolButtonListWarp {
  width: 100%;
  height: 182px;
  display: flex;
  background-color: white;

  justify-content: center;
  align-items: center;
  .toolButtonList {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    .toolButtonCard{
      width: 67px;
      height: 67px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      .toolButtonIcon{
        height: 27px;
        width: 27px;
      }

      .toolButtonTitle{
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;

      }

    }


  }
}

</style>